code source nhận diện khuôn mặt trong c#
1 namespace MultiFaceRec
2 {
3 partial class FrmPrincipal
4 {
5 /// <summary>
6 /// Variable del diseñador requerida.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Limpiar los recursos que se estén utilizando.
12 /// </summary>
13 /// <param name="disposing">true si los recursos administrados se deben eliminar; false en caso contrario, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Código generado por el Diseñador de Windows Forms
24
25 /// <summary>
26 /// Método necesario para admitir el Diseñador. No se puede modificar
27 /// el contenido del método con el editor de código.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 this.components = new System.ComponentModel.Container();
32 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmPrincipal));
33 this.button2 = new System.Windows.Forms.Button();
34 this.textBox1 = new System.Windows.Forms.TextBox();
35 this.groupBox1 = new System.Windows.Forms.GroupBox();
36 this.label1 = new System.Windows.Forms.Label();
37 this.imageBox1 = new Emgu.CV.UI.ImageBox();
38 this.groupBox2 = new System.Windows.Forms.GroupBox();
39 this.label5 = new System.Windows.Forms.Label();
40 this.label4 = new System.Windows.Forms.Label();
41 this.label3 = new System.Windows.Forms.Label();
42 this.label2 = new System.Windows.Forms.Label();
43 this.button1 = new System.Windows.Forms.Button();
44 this.imageBoxFrameGrabber = new Emgu.CV.UI.ImageBox();
45 this.groupBox1.SuspendLayout();
46 ((System.ComponentModel.ISupportInitialize)(this.imageBox1)).BeginInit();
47 this.groupBox2.SuspendLayout();
48 ((System.ComponentModel.ISupportInitialize)(this.imageBoxFrameGrabber)).BeginInit();
49 this.SuspendLayout();
50 //
51 // button2
52 //
53 this.button2.BackColor = System.Drawing.Color.DimGray;
54 this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System;
55 this.button2.Location = new System.Drawing.Point(342, 219);
56 this.button2.Name = "button2";
57 this.button2.Size = new System.Drawing.Size(184, 39);
58 this.button2.TabIndex = 3;
59 this.button2.Text = "2. Add face";
60 this.button2.UseVisualStyleBackColor = false;
61 this.button2.Click += new System.EventHandler(this.button2_Click);
62 //
63 // textBox1
64 //
65 this.textBox1.Location = new System.Drawing.Point(67, 175);
66 this.textBox1.Name = "textBox1";
67 this.textBox1.Size = new System.Drawing.Size(107, 20);
68 this.textBox1.TabIndex = 7;
69 this.textBox1.Text = "Sergio";
70 //
71 // groupBox1
72 //
73 this.groupBox1.BackColor = System.Drawing.Color.Teal;
74 this.groupBox1.Controls.Add(this.label1);
75 this.groupBox1.Controls.Add(this.textBox1);
76 this.groupBox1.Controls.Add(this.imageBox1);
77 this.groupBox1.ForeColor = System.Drawing.Color.White;
78 this.groupBox1.Location = new System.Drawing.Point(342, 12);
79 this.groupBox1.Name = "groupBox1";
80 this.groupBox1.Size = new System.Drawing.Size(184, 204);
81 this.groupBox1.TabIndex = 8;
82 this.groupBox1.TabStop = false;
83 this.groupBox1.Text = "Training: ";
84 //
85 // label1
86 //
87 this.label1.AutoSize = true;
88 this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
89 this.label1.Location = new System.Drawing.Point(11, 173);
90 this.label1.Name = "label1";
91 this.label1.Size = new System.Drawing.Size(47, 13);
92 this.label1.TabIndex = 8;
93 this.label1.Text = "Name: ";
94 //
95 // imageBox1
96 //
97 this.imageBox1.BackColor = System.Drawing.Color.Teal;
98 this.imageBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
99 this.imageBox1.Location = new System.Drawing.Point(11, 18);
100 this.imageBox1.Name = "imageBox1";
101 this.imageBox1.Size = new System.Drawing.Size(163, 134);
102 this.imageBox1.TabIndex = 5;
103 this.imageBox1.TabStop = false;
104 //
105 // groupBox2
106 //
107 this.groupBox2.BackColor = System.Drawing.Color.Teal;
108 this.groupBox2.Controls.Add(this.label5);
109 this.groupBox2.Controls.Add(this.label4);
110 this.groupBox2.Controls.Add(this.label3);
111 this.groupBox2.Controls.Add(this.label2);
112 this.groupBox2.ForeColor = System.Drawing.Color.White;
113 this.groupBox2.Location = new System.Drawing.Point(532, 12);
114 this.groupBox2.Name = "groupBox2";
115 this.groupBox2.Size = new System.Drawing.Size(209, 204);
116 this.groupBox2.TabIndex = 9;
117 this.groupBox2.TabStop = false;
118 this.groupBox2.Text = "Results: ";
119 //
120 // label5
121 //
122 this.label5.AutoSize = true;
123 this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
124 this.label5.ForeColor = System.Drawing.Color.White;
125 this.label5.Location = new System.Drawing.Point(9, 23);
126 this.label5.Name = "label5";
127 this.label5.Size = new System.Drawing.Size(197, 15);
128 this.label5.TabIndex = 17;
129 this.label5.Text = "Persons present in the scene:";
130 //
131 // label4
132 //
133 this.label4.AutoSize = true;
134 this.label4.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
135 this.label4.ForeColor = System.Drawing.Color.White;
136 this.label4.Location = new System.Drawing.Point(9, 53);
137 this.label4.Name = "label4";
138 this.label4.Size = new System.Drawing.Size(61, 19);
139 this.label4.TabIndex = 16;
140 this.label4.Text = "Nobody";
141 //
142 // label3
143 //
144 this.label3.AutoSize = true;
145 this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
146 this.label3.ForeColor = System.Drawing.Color.Red;
147 this.label3.Location = new System.Drawing.Point(163, 124);
148 this.label3.Name = "label3";
149 this.label3.Size = new System.Drawing.Size(16, 16);
150 this.label3.TabIndex = 15;
151 this.label3.Text = "0";
152 //
153 // label2
154 //
155 this.label2.AutoSize = true;
156 this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
157 this.label2.ForeColor = System.Drawing.Color.White;
158 this.label2.Location = new System.Drawing.Point(10, 92);
159 this.label2.Name = "label2";
160 this.label2.Size = new System.Drawing.Size(179, 15);
161 this.label2.TabIndex = 14;
162 this.label2.Text = "Number of faces detected: ";
163 //
164 // button1
165 //
166 this.button1.BackColor = System.Drawing.Color.White;
167 this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
168 this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System;
169 this.button1.Location = new System.Drawing.Point(532, 219);
170 this.button1.Name = "button1";
171 this.button1.Size = new System.Drawing.Size(206, 39);
172 this.button1.TabIndex = 2;
173 this.button1.Text = "1. Detect and recognize";
174 this.button1.UseVisualStyleBackColor = false;
175 this.button1.Click += new System.EventHandler(this.button1_Click);
176 //
177 // imageBoxFrameGrabber
178 //
179 this.imageBoxFrameGrabber.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
180 this.imageBoxFrameGrabber.Location = new System.Drawing.Point(12, 12);
181 this.imageBoxFrameGrabber.Name = "imageBoxFrameGrabber";
182 this.imageBoxFrameGrabber.Size = new System.Drawing.Size(320, 240);
183 this.imageBoxFrameGrabber.TabIndex = 4;
184 this.imageBoxFrameGrabber.TabStop = false;
185 //
186 // FrmPrincipal
187 //
188 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
189 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
190 this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
191 this.ClientSize = new System.Drawing.Size(753, 290);
192 this.Controls.Add(this.groupBox2);
193 this.Controls.Add(this.groupBox1);
194 this.Controls.Add(this.imageBoxFrameGrabber);
195 this.Controls.Add(this.button2);
196 this.Controls.Add(this.button1);
197 this.Name = "FrmPrincipal";
198 this.Text = "face detector and recgonizer";
199 this.groupBox1.ResumeLayout(false);
200 this.groupBox1.PerformLayout();
201 ((System.ComponentModel.ISupportInitialize)(this.imageBox1)).EndInit();
202 this.groupBox2.ResumeLayout(false);
203 this.groupBox2.PerformLayout();
204 ((System.ComponentModel.ISupportInitialize)(this.imageBoxFrameGrabber)).EndInit();
205 this.ResumeLayout(false);
206
207 }
208
209 #endregion
210
211 private System.Windows.Forms.Button button2;
212 private Emgu.CV.UI.ImageBox imageBoxFrameGrabber;
213 private Emgu.CV.UI.ImageBox imageBox1;
214 private System.Windows.Forms.TextBox textBox1;
215 private System.Windows.Forms.GroupBox groupBox1;
216 private System.Windows.Forms.Label label1;
217 private System.Windows.Forms.GroupBox groupBox2;
218 private System.Windows.Forms.Label label5;
219 private System.Windows.Forms.Label label4;
220 private System.Windows.Forms.Label label3;
221 private System.Windows.Forms.Label label2;
222 private System.Windows.Forms.Button button1;
223 }
224 }